﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>最简单的时间日期特效</title>
</head>
<body>
<div id="divTime">
    <script language="javascript">
        setInterval("divTime.innerHTML=new Date().toLocaleString()+'星期'+'日一二三四五六'.charAt(new Date().getDay())",500)
    </script>
</div>
</body>
</html>